<!doctype html>
<html>

	<head id="top">
		<meta charset="UTF-8">
		<title>{{title}}</title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link href="../../../css/mui.min.css" rel="stylesheet" />
		<link rel="stylesheet" href="../../../css/inspection/collectionDetail.css" />
	</head>
	<body>
		<div id="box" class="container" v-html="msg"></div>
		<!--<footer>
			<div class="qrCode">
				<img src="img/qrcode.jpg" alt="" />
				<p>关注医诺检验微信</p>
				<p>了解更多检验项目</p>
			</div>
		</footer>-->
		<script src="../../../js/mui.min.js"></script>
		<script src="../../../js/vue.js"></script>
		<script src="../../../js/inspectionCmms.js"></script>
		<script>
			var top=new Vue({
				el:'#top',
				data:{
					title:''
				},
				mounted(){
					let url=location.href.split("?")[1];
					this.get(url);
				},
				methods:{
					get:function(url){
						let _this=this;
						if(url){
							let code=url.split("&")[1].split("=")[1];
							let t = decodeURI(decodeURI(code)); 
							_this.title=t;
					}
				}
				}
			});
			var box=new Vue({
				el:'#box',
				data:{
					url:'https://lab.ulabcare.com/clinicalmall-web/',
					id:'',
					msg:{}
				},
				mounted(){
					let url=location.href.split("?")[1];
					this.getCode(url);
					this.loadPage(this.url);
				},
				methods:{
					
					getCode:function(url){
						let _this=this;
						if(url){
							let code=url.split("&")[0].split("=")[1];
							_this.id=code;
						}
					},
					loadPage:function(url){
						let _this=this;
						mui.ajax(url+'jyzsApp/selectYxcategoryById',{
							data:{
								id:this.id
							},
							dataType:'json',//服务器返回json格式数据
							type:'post',//HTTP请求类型
							success:function(res){
								//服务器返回响应，根据响应结果，分析；
								 //console.log(res.data);
								if(res.code=="000000"){
									_this.msg=res.data[0].content;
								}
							},
							error:function(xhr,type,errorThrown){
								//异常处理；
								console.log(type);
							}
						});
					}
				}
			})
		</script>
	</body>

</html>